﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UCenter.ContactFromLiveID
{
    [XmlNodeMapping(XmlNodeName = "Owner")]
    public class LiveOwner
    {
        /// <summary>
        /// Gets or sets the windows live ID.
        /// </summary>
        /// <value>The windows live ID.</value>
        [XmlNodeMapping(XmlNodeName = "WindowsLiveID")]
        public string WindowsLiveID { get; set; }
        
        /// <summary>
        /// Gets or sets the last changed.
        /// </summary>
        /// <value>The last changed.</value>
        [XmlNodeMapping(XmlNodeName = "LastChanged")]
        public DateTime LastChanged { get; set; }

        /// <summary>
        /// Gets or sets the display name.
        /// </summary>
        /// <value>The display name.</value>
        [XmlNodeMapping(XmlNodeName = "Profiles/Personal/DisplayName")]
        public string DisplayName { get; set; }
    }
}
